package com.guldan.mapper.db.mapper;

import com.guldan.mapper.db.entity.RegisterFail;
import com.guldan.mapper.db.entity.RegisterFailExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Silas.
 * Date: 2016/11/20
 * Time: 11:48
 */
public interface RegisterFailMapperExt extends RegisterFailMapper {

    /**
     * @param example
     * @param offset
     * @param limit
     * @return
     */
    List<RegisterFail> selectByExampleWithPaging(
            @Param("example") RegisterFailExample example, @Param("offset") int offset,
            @Param("limit") int limit);

    /* 统计登记失败人数 */
    Integer countRegisterFailByBatchId(@Param("batchId") int batchId);

}
